#!/usr/bin/env python
lst=[1,4,9,16,2,5,10,15]
#print(lst)
new_lst=[]
for i in range(len(lst)-1):
    new_lst.append(lst[i]+lst[i+1])
    #print(new_lst)
print(new_lst)

print('new_lst-------------------')
print([lst[i]+lst[i+1] for i in range(len(lst)-1)])


# 完成的不错
